﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace Vehicle.BLL
{
    /// <summary>
    /// Copyright (C) M-Tear团队
    /// 文 件 名：Expense.cs
    /// 版    本：v1.00.0000
    /// 创建标识：2009-09-02    Created by 杨光远 V1.00.0000
    /// 功能说明：Expense表逻辑层类（继承于逻辑层基类Base_DAL.cs)
    /// 注意事项：无
    /// 
    /// 更新记录：
    /// 
    /// </summary>
   public class Expense :BLL.Base_BLL,IExpense
    {
       private static readonly Vehicle.Interface.IExpense d_Expense = Vehicle.Interface.Factory.CreatedExpense();
       /// <summary>
       /// 绑定页面Repeater控件
       /// </summary>
       /// <param name="Rept">Repeater控件对象</param>
       /// <param name="m_ComponentsInfo">通用实体层对象</param>
      public  void RepeaterBind(Repeater Rept, Model.ComponentsInfo m_ComponentsInfo)
      {
          d_Expense.RepeaterBind(Rept, m_ComponentsInfo);

      }

       /// <summary>
       /// 添加费用单信息
       /// </summary>
       /// <param name="m_ExpenseInfo">实体对象</param>
      public void Add(Model.ExpenseInfo m_ExpenseInfo)
      {
          d_Expense.Add(m_ExpenseInfo);
      }

       /// <summary>
       /// 修改费用单信息
       /// </summary>
       /// <param name="m_ExpenseInfo">实体对象</param>
      public void Update(Model.ExpenseInfo m_ExpenseInfo)
      {
          d_Expense.Update(m_ExpenseInfo);
      }
    }
}
